/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package prsubversion;

import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.ResourceBundle;

/**
 *
 * @author Java I
 */
public class Main {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
//masssss cambios
        //mas cambios
        Locale l=new Locale("en");
        Locale.setDefault(l);
        ResourceBundle rb=ResourceBundle.getBundle("prsubversion/newproperties",l);

        //System.out.println(java.util.ResourceBundle.getBundle("prsubversion/cadenasBundle").getString("BIENVENIDO"));
        System.out.println(rb.getString("BIENVENIDO"));
        //Cambio
        //dfjdfh

        DateFormat fmt=DateFormat.getDateTimeInstance(
                       DateFormat.SHORT,DateFormat.SHORT);
                DateFormat fmt2=DateFormat.getDateTimeInstance(
                       DateFormat.FULL,DateFormat.DEFAULT);
        System.out.println("Formato corto: "+fmt.format(new Date()));
        System.out.println("Formato largo: "+fmt2.format(new Date()));
        
    }

}
